package com.example.demo.Repository;

import com.example.demo.Entity.Interested;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface InterestedRepository extends JpaRepository<Interested, Long> {
    List<Interested> findByUserId(Long userId);
}